<%@tag pageEncoding="UTF-8" description="日历控件"%>
<%@ attribute name="datetime_control" type="java.lang.Boolean" required="false" description="是否需要时间控件（滑动杆）"%> 
<!-- 日历控件 -->
<div class="CalendarHolder">
	<jsp:doBody/>
	<%--
	OUTPUT:
	<input placeholder="" name="valid" type="text" noSelectedBeforeDate="true" />
	 --%>
    <div class="icon"></div>
    <div class="Calendar">
    	<div style="position:relative;padding-bottom: 40px;">
    	
	        <div class="idCalendarPre">&lt;&lt;</div>
	        <div class="idCalendarNext">&gt;&gt;</div>
	        <span class="idCalendarYear"></span>年
	        <span class="idCalendarMonth"></span>月
	        
	        <table cellspacing="0">
	            <thead>
	                <tr>
	                    <td>日</td><td>一</td> <td>二</td><td>三</td><td>四</td><td>五</td><td>六</td>
	                </tr>
	            </thead>
	            <tbody></tbody>
	        </table>
	        
			<div class="btns">
		        <input type="button" value="上一年" class="idCalendarPreYear" />
		        <input type="button" value="当前月" class="idCalendarNow" />
		        <input type="button" value="下一年" class="idCalendarNextYear" />
			</div>
    	</div>
    	<%if(datetime_control != null && datetime_control ){ %>
    	<div class="slider-holder">
    		<ul>
    			<li>
    				<h2>时：</h2>
    				<input type="text" class="hour" />
    			</li>
    			<li>
    				<h2>分：</h2>
    				<input type="text" class="minute" />
    			</li>
    			<li>
    				<h2>秒：</h2>
    				<input type="text" class="second" />
    			</li>
    		</ul>
	        <div class="slider">
	        	<button></button>
	        </div>
	        <button>提交时间</button>
    	</div>
    	<%} %>
    </div>
</div> 
<!-- // 日历控件 -->